

///////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////// Table A3 - Primary Results - Cluster by Circiuit //////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
use Data_OPO_Master.dta, clear
keep if use==1

** A. All Cases

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  i.sc_term i.coa_circuit  , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_A.tex", nocons replace tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed  i.sc_term i.coa_circuit  , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  using "TableA3_A.tex", nocons append tex dec(3)  drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln i.sc_term i.coa_circuit  , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_A.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit  , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_A.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

** B. Civil Cases

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  i.sc_term i.coa_circuit if civil==1 , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_B.tex", nocons replace tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed  i.sc_term i.coa_circuit  if civil==1, cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  using "TableA3_B.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln i.sc_term i.coa_circuit if civil==1 , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_B.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit if civil==1 , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_B.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

** C. Criminal Cases

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  i.sc_term i.coa_circuit if criminal==1 , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_C.tex", nocons replace tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed  i.sc_term i.coa_circuit if criminal==1 , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  using "TableA3_C.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln i.sc_term i.coa_circuit if criminal==1 , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_C.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg  sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit if criminal==1 , cluster(coa_circuit)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out   using "TableA3_C.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

